package com.etone.fileServer.dto.compress;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author: sovy
 * @date: 2020/11/4
 * @description:
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@ApiModel(description = "压缩文件表单")
public class CompressDTO {

    @ApiModelProperty("压缩文件目录")
    @NotEmpty
    private String destFile;

    @ApiModelProperty("文件列表")
    private List<String> files;
}
